package com.tjp.eight.ui.fragment.sub;

import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by Administrator on 2017/3/15.
 */
public interface SubService {
    @Headers({"Content-Type:application/json", "Accept:application/json"})
    @POST("find/subscibemng")
    Observable<SubItemModel> loadData(@Body RequestBody requestBody);

    @Headers({"Content-Type:application/json", "Accept:application/json"})
    @POST("find/subscibe")
    Observable<SubResultModel> sub(@Body RequestBody requestBody);
}
